package com.healthbox.resultsservice.mapper;

import com.healthbox.resultsservice.entity.HospitalRegion;
import com.healthbox.resultsservice.entity.HospitalNoticeForUser;
import com.healthbox.resultsservice.entity.TestResultForUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserResultsMapper {

    List<TestResultForUser> readTestResults(@Param("phoneNumber") String phoneNumber);

    List<HospitalNoticeForUser> readHospitalNotice(@Param("hospital_id") Long hospital_id);

    List<HospitalRegion> readHospitalRegions();
}
